package com.bzframework.pro.authorize.token.parser;

import org.springframework.web.server.ServerWebExchange;
import reactor.core.publisher.Mono;

/**
 * @Author bingzhong
 * @Date 2024/11/24 14:09
 * @Description
 */
public interface TokenParser {

    /**
     * 获取token
     * @param exchange
     * @return
     */
    Mono<ParsedToken> parseToken(ServerWebExchange exchange);

}
